8928808c4e1ce68dd0c31e6bb5c74209571fefaa,org.jrebirth.af/showcase/workbench/src/main/java/org/jrebirth/af/demo/workbench/ui/TabDemoModel.java,TabDemoModel,initSimpleView,#,24

Before Change


                                                             DockConfig.create().key("BottomDock").orientation(DockOrientation.horizontal).panes(
                                                                                                                                                 TabConfig.create().key("BottomLeft")
                                                                                                                                                          .orientation(TabOrientation.bottom),
                                                                                                                                                 TabConfig.create().key("BottomRight")
                                                                                                                                                          .orientation(TabOrientation.left))));
        node().setCenter(rootDock.node());

After Change


        String topLeft = "TopLeft";
        String topRight = "TopRight";
        String bottomLeft = "BottomLeft";
        String bottomRight = "BottomRight";
        final DockModel rootDock = getModel(DockModel.class,
                                            DockConfig.create()
                                                      .id("RootDock")
                                                      .orientation(DockOrientation.vertical)
                                                      .panes(
                                                             DockConfig.create()
                                                                       .id("TopDock")
                                                                       .orientation(DockOrientation.horizontal)
                                                                       .panes(
                                                                              TabConfig.create()
                                                                                       .id(topLeft)
                                                                                       .styleClass("Top Left")
                                                                                       .orientation(TabOrientation.top),
                                                                              TabConfig.create()
                                                                                       .id(topRight)
                                                                                       .styleClass("Top Right")
                                                                                       .orientation(TabOrientation.right)),
                                                             DockConfig.create()
                                                                       .id("BottomDock")
                                                                       .orientation(DockOrientation.horizontal)
                                                                       .panes(
                                                                              TabConfig.create()
                                                                                       .id(bottomLeft)
                                                                                       .styleClass("Bottom Left")
                                                                                       .orientation(TabOrientation.bottom),
                                                                              TabConfig.create()
                                                                                       .id(bottomRight)
                                                                                       .styleClass("Bottom Right")
                                                                                       .orientation(TabOrientation.left))));
        node().setCenter(rootDock.node());

        addTabWithCommand(topLeft, "Tab1");
        addTabWithCommand(topLeft, "Tab2");
        addTabWithCommand(topLeft, "Tab3");
        addTabWithCommand(topLeft, "Tab4");
        addTabWithCommand(topLeft, "Tab5");
        addTabWithCommand(topLeft, "Tab6");

        addTabWithCommand(topRight, "Tab7");
        addTabWithCommand(topRight, "Tab8");
        addTabWithCommand(topRight, "Tab9");

        addTabWithCommand(bottomRight, "Tab10");
        addTabWithCommand(bottomRight, "Tab11");
        addTabWithCommand(bottomRight, "Tab12");
        addTabWithCommand(bottomRight, "Tab13");
        addTabWithCommand(bottomRight, "Tab14");